<!DOCTYPE html>
<html class="um landscape min-width-240px min-width-320px min-width-480px min-width-768px min-width-1024px">
    <head>
        <title></title>
        <meta charset="utf-8">
        <meta name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
        <link rel="stylesheet" href="css/fonts/font-awesome.min.css">
        <link rel="stylesheet" href="css/ui-box.css">
        <link rel="stylesheet" href="css/ui-base.css">
        <link rel="stylesheet" href="css/ui-color.css">
        <link rel="stylesheet" href="css/appcan.icon.css">
        <link rel="stylesheet" href="css/appcan.control.css">
        <link rel="stylesheet" href="login_content/css/main.css">
        <link rel="stylesheet" href="css/mystyle.css" />
    </head>
    <body class="um-vp bc-bg" ontouchstart>
        <div class="ub ub-ver uinn-a3 ub-fv loginBg ub-img1">
            <div class="ub ub-ver uinn uinn-at1">
                <!-- 表单 -->
                <form method="get" action="http://www.appcan.cn">
                    <div class="umar-a uba bc-border bc-bg">
                        <div class="ub ub-ac ubb umh5 bc-border ">
                            <div class=" uinput ub ub-f1">
                                <div class="uinn fa fa-user sc-text"></div>
                                <input placeholder="用户名" type="text" class="ub-f1">
                            </div>
                        </div>
                        <div class="ub ub-ac umh5 bc-border ">
                            <div class=" uinput ub ub-f1">
                                <div class="uinn fa fa-lock sc-text"></div>
                                <input placeholder="密码" type="password" class="umw4 ub-f1">

                            </div>
                        </div>
                    </div>
                    <div class="ub ub-ver uinn">
                        <div class="ub ub-pe uinn-a6 sc-text-active ulev-4">
                            忘记密码
                        </div>
                        <div class="uinn-at1">
                            <div class="btn ub ub-ac bc-text-head ub-pc bc-btn uc-a1" id="submit">
                                登录
                            </div>
                        </div>
                        <div class="uinn-at2 ub bc-text-head ulev-4 " id="ceshi">
                            <div class="ub-f1 tx-r">
                                无账号测试登录
                            </div>
                        </div>
                    </div>
                    <button type="submit"class="uinvisible"></button>
                </form>

            </div>

        </div>
        
      
        <script src="js/appcan.js"></script>
        <script src="js/appcan.control.js"></script>
    </body>
    <script>
        appcan.ready(function() {
            appcan.initBounce();
        })
        appcan.button("#submit", "ani-act", function() {
            $("form").submit();
        })

        $("form").on('submit', function() {
            appcan.request.postForm($("form"), function() {
                appcan.window.alert({
                    title : "提醒",
                    content : "您已经提交了表单:)",
                    buttons : '确定',
                    callback : function(err, data, dataType, optId) {
                        console.log(err, data, dataType, optId);
                    }
                });
            }, function(err) {

            });
            return false;
        });
        
        //测试登录按钮点击事件
        appcan.button("#ceshi", "ani-act", function() {
            appcan.window.close({
                aniId:17,
                animDuration:1000
            });
            appcan.window.open({
                name:"one",
                data:"user.html",
                datatype:"html",
                aniId:"16"
            });  
  
                    
        })
        
    </script>
</html>